#!/bin/bash

curl -SsOL https://gitee.com/hevey88/brew-user/raw/main/Casks/mambaforge.rb
python3 -m pip config set global.index-url https://mirrors.bfsu.edu.cn/pypi/web/simple
brew install --cask mambaforge.rb && rm -rf mambaforge.rb 
($(brew --prefix)/bin/mamba init "$(basename "${SHELL}")" && \
conda config --set show_channel_urls yes && \
conda config --set auto_activate_base false && \
conda config --set custom_channels.conda-forge https://mirrors.bfsu.edu.cn/anaconda/cloud/ \
) &
